package com.xlh.pojo.problem;

import java.io.Serializable;
import java.util.Date;

public class Problem implements Serializable {
    private Long id;

    /**
     * 问题名
     *
     * @mbg.generated
     */
    private String problemName;

    /**
     * 学号/教师号
     *
     * @mbg.generated
     */
    private Long userId;

    /**
     * 课程号
     *
     * @mbg.generated
     */
    private Long courseId;

    /**
     * 提出问题时间
     *
     * @mbg.generated
     */
    private Date problemTime;

    /**
     * 0未删除  1已删除
     *
     * @mbg.generated
     */
    private Boolean delMark;

    /**
     * 答案个数
     *
     * @mbg.generated
     */
    private Integer problemCount;

    /**
     * 问题内容
     *
     * @mbg.generated
     */
    private String problemContent;

    /**
     * html显示内容
     *
     * @mbg.generated
     */
    private String htmlContent;

    private Long chapterId;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProblemName() {
        return problemName;
    }

    public void setProblemName(String problemName) {
        this.problemName = problemName;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public Date getProblemTime() {
        return problemTime;
    }

    public void setProblemTime(Date problemTime) {
        this.problemTime = problemTime;
    }

    public Boolean getDelMark() {
        return delMark;
    }

    public void setDelMark(Boolean delMark) {
        this.delMark = delMark;
    }

    public Integer getProblemCount() {
        return problemCount;
    }

    public void setProblemCount(Integer problemCount) {
        this.problemCount = problemCount;
    }

    public String getProblemContent() {
        return problemContent;
    }

    public void setProblemContent(String problemContent) {
        this.problemContent = problemContent;
    }

    public String getHtmlContent() {
        return htmlContent;
    }

    public void setHtmlContent(String htmlContent) {
        this.htmlContent = htmlContent;
    }

    public Long getChapterId() {
        return chapterId;
    }

    public void setChapterId(Long chapterId) {
        this.chapterId = chapterId;
    }

    @Override
    public String toString() {
        return "Problem{" +
                "id=" + id +
                ", problemName='" + problemName + '\'' +
                ", userId=" + userId +
                ", courseId=" + courseId +
                ", problemTime=" + problemTime +
                ", delMark=" + delMark +
                ", problemCount=" + problemCount +
                ", problemContent='" + problemContent + '\'' +
                ", htmlContent='" + htmlContent + '\'' +
                ", chapterId=" + chapterId +
                '}';
    }
}